package com.xsnet.service;

import com.xsnet.dto.UserDTO;
import com.xsnet.jooq.tables.records.TUserRecord;
import org.jooq.DSLContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: springboot-jooq-demo
 * @description: 用户相关接口
 * @author: Jamie.shi
 * @create: 2020-05-20 19:00
 **/
public interface UserService {

    void addUser(String mobile,String password);

    void updateUserPassword(String password);

    void deleteUser(String userName);

    List<UserDTO> queryUser();


}
